HID touch screen driver installation for Fedora8 and X11 
(C) 2006 Chang-Hsieh Wu

==============================================================================
QUICKSTART GUIDE
==============================================================================
1. setup xfree driver
   a. decompress xfhiddrv_drv.tar.gz
      #gzip -d xfhiddrv_drv.tar.gz
      #tar xvf xfhiddrv_drv.tar
   b. Copy xfhiddrv_drv.so to /usr/lib/xorg/modules/input/xfhiddrv_drv.so 

      #cp   xfhiddrv_drv.o /usr/lib/xorg/modules/input/xfhiddrv_drv.so
   c. Add the following lines into xorg.conf(maybe in /etc or /etc/X11)file.
      If your system will not have a mouse, then use "CorePointer" instead of
      "SendCoreEvents" in the "ServerLayout" section.  Set "ServerLayout"  section
      as the following.

    	InputDevice 	"HID TOUCH" 


   d. Add the a new "InputDevice" Section as the following.
Section "InputDevice"
        Identifier  "HID TOUCH"
        Driver      "xfhiddrv"
        Option      "Device" "/dev/hiddev0"
        Option      "ScreenNo" "0"
        Option      "Rotation" "0"
        Option      "SwapY" "0"
        Option      "DebugLevel" "0"
        Option      "AlwaysCore"
        Option      "UpSound" "0"
        Option      "DownSound" "0"
        Option      "AutoRightClick" "1"
        Option      "TouchMode" "2"
EndSection

    In the item of "Device", you must depend on your computer. So, it can be the value, 
such as the followings.
        "/dev/hiddevx"  x=0,1,...2, n
        "/dev/ttySx"    x=0,1,..., n

   e. Press Ctrl+Alt+Backspace to restart X server. 

2. Setup and run Linear Utility:
   I. Linearity Utility:
   a. Longin "root" user , otherwise the GTK will fail.

   b. installation 
      step 1. decompress LinearAp_fc6.tar.gz 
         #gzip -d LinearAp_fc6.tar.gz
         #tar xvf LinearAp_fc6.tar.gz 

   c. Run linearity utility
      I. HID device
      #./LinearAp  /dev/hiddevx n

      II. RS232 device
      #./LinearAp  /dev/ttySx n
      where x=0,1,2...n, n = 4 or 9 <default>  
      
      
